package cn.tedu.oop;

import java.util.Scanner;

public class Demo {
    public static void main(String[] args) {
        f1();

    }

    private static void f1() {
        try {
            method3();
        }catch (Exception e){
            System.out.println("输入有误,请重新输入");
        }
    }

    private static void method3() throws Exception{
        System.out.println("请输入两个整数");
        int a=new Scanner(System.in).nextInt();
        int b=new Scanner(System.in).nextInt();
        System.out.println(a/b);
    }

}
